xie.kaifeng 8 mesiacov pred
rodič
commit
736a089353

+ 2 - 2
mtp3-century/src/main/java/com/muchinfo/mtp3century/service/impl/NoticeServiceImpl.java

@@ -97,7 +97,7 @@ public class NoticeServiceImpl implements INoticeService {
         } else if (SysEnums.SendTypeEnum.MEMBERSEND.getCode().equals(param.getSendtype())) {
             String[] split = param.getMemberidlist().split(",");
 
-            if (split.length > 0) {
+            if (split.length <= 0) {
                 return AjaxResult.error(Constants.Error_Code_Design, MessageType.MESSAGE_NOTICE_ERROR_CODE_01.getCode(), request.getHeader("Accept-Language"));
             }
             saveSendMember(noticeMsg, split);
@@ -108,7 +108,7 @@ public class NoticeServiceImpl implements INoticeService {
         } else if (SysEnums.SendTypeEnum.ONLYMEMBERSEND.getCode().equals(param.getSendtype())) {
             String[] split = param.getMemberidlist().split(",");
 
-            if (split.length > 0) {
+            if (split.length <= 0) {
                 return AjaxResult.error(Constants.Error_Code_Design, MessageType.MESSAGE_NOTICE_ERROR_CODE_01.getCode(), request.getHeader("Accept-Language"));
             }
             saveSendOnlyMember(noticeMsg, split);

+ 4 - 4
mtp3-century/src/main/java/com/muchinfo/mtp3century/service/impl/TaaccountServiceImpl.java

@@ -646,12 +646,12 @@ public class TaaccountServiceImpl extends ServiceImpl<ITaaccountMapper, Taaccoun
                         .eq("mobile", ui.getMobile()))
         );
         if (CollectionUtils.isNotEmpty(uiList)) {
-            for (int i = 0; i < uiList.size(); i++) {
-                if (uiList.get(i).getCardnum().equals(ui.getCardnum())) {
+            for (Userinfo userinfo : uiList) {
+                if (userinfo.getCardnum().equals(ui.getCardnum())) {
                     return AjaxResult.error(Constants.Error_Code_Design, MessageType.ORGAN_ERROR_CODE_006.getCode(), request.getHeader("Accept-Language"));
                 }
-                //5投资者
-                if (org.getUsertype() == 5 && uiList.get(i).getMobile().equals(ui.getMobile())) {
+                //5 投资者
+                if (org.getUsertype() == 5 && userinfo.getMobile().equals(ui.getMobile())) {
                     return AjaxResult.error(Constants.Error_Code_Design, MessageType.ORGAN_ERROR_CODE_007.getCode(), request.getHeader("Accept-Language"));
                 }
             }

+ 2 - 2
mtp3-century/src/main/resources/mapper/TradeOrderdetailMapper.xml

@@ -120,8 +120,8 @@
             <if test="vo.isHis == 1">
                 AND t.ISVALIDDATA = 1
             </if>
-            <if test="vo.orderstatus != null and vo.orderstatus != ''">
-                AND t.orderstatus = #{vo.orderstatus,jdbcType=INTEGER}
+            <if test="vo.orderStatus != null and vo.orderStatus != ''">
+                AND t.orderstatus = #{vo.orderStatus,jdbcType=INTEGER}
             </if>
             <if test="vo.operateType == 2">
                 and t.operatetype = 2