소스 검색

优化代码

wuxw 4 년 전
부모
커밋
1a4f565231

+ 1 - 1
java110-db/src/main/resources/mapper/fee/PayFeeConfigV1ServiceDaoImplMapper.xml

@@ -54,7 +54,7 @@
         <if test="configId !=null and configId != ''">
             and t.config_id= #{configId}
         </if>
-        <if test="configIds !=null">
+        <if test="configIds != null">
             and t.config_id in
             <foreach collection="configIds" open="(" close=")"
                      separator="," item="item">

+ 2 - 0
service-user/src/main/java/com/java110/user/cmd/user/ResetStaffPwdCmd.java

@@ -77,6 +77,8 @@ public class ResetStaffPwdCmd extends AbstractServiceCmdListener {
         modifyStaff(reqJson, cmdDataFlowContext);
         JSONObject paramOut = new JSONObject();
         paramOut.put("pwd", reqJson.getString("pwd"));
+        paramOut.put("code",0);
+        paramOut.put("msg","成功");
         ResponseEntity<String> responseEntity = new ResponseEntity<>(paramOut.toJSONString(), HttpStatus.OK);
         cmdDataFlowContext.setResponseEntity(responseEntity);