异常计时器

赵嘉伟 4 years ago
parent 945d72fedd
commit 4e64b65b6e

@ -20,15 +20,13 @@ import java.util.List;
/**
*
* @author Philip
* @since 2021-07-20
* @author
* @since 2021-07-22
*/
@RestController
@RequestMapping("/Z-ABNORMAL-BILL")
public class AbnormalBillController {
@Autowired
public AbnormalBillService abnormalBillService;
@ -39,7 +37,6 @@ public class AbnormalBillController {
private FileUploadedService fileUploadedService;
/**
* id
*
@ -164,7 +161,6 @@ public class AbnormalBillController {
}
/**
*
* @param messageType

@ -13,8 +13,8 @@ import java.util.List;
* Mapper
* </p>
*
* @author Philip
* @since 2021-07-20
* @author
* @since 2021-07-22
*/
@Repository
public interface AbnormalBillMapper extends BaseMapper<AbnormalBill> {
@ -32,4 +32,5 @@ public interface AbnormalBillMapper extends BaseMapper<AbnormalBill> {
List<AbnormalBill> findCountBySfc(@Param("site")String site, @Param("type")String type, @Param("sfc")String sfc, @Param("status")List<String> status);
}

@ -14,8 +14,8 @@ import java.time.LocalDateTime;
*
* </p>
*
* @author Philip
* @since 2021-07-20
* @author
* @since 2021-07-22
*/
@TableName("Z_ABNORMAL_BILL")
@ -187,12 +187,12 @@ public class AbnormalBill extends Model<AbnormalBill> {
/**
*
*/
@TableField("REPORT__SEND_USER_GROUP")
@TableField("REPORT_SEND_USER_GROUP")
private String reportSendUserGroup;
/**
*
*/
@TableField("CANCEL__SEND_USER_GROUP")
@TableField("CANCEL_SEND_USER_GROUP")
private String cancelSendUserGroup;
/**
*
@ -215,7 +215,6 @@ public class AbnormalBill extends Model<AbnormalBill> {
@TableField("MODIFIED_DATE_TIME")
private LocalDateTime modifiedDateTime;
@TableField(exist = false)
private String filePath;
@ -226,6 +225,8 @@ public class AbnormalBill extends Model<AbnormalBill> {
private String fileNum;
public String getHandle() {
return handle;
}
@ -618,9 +619,9 @@ public static final String CANCEL_DATE_TIME = "CANCEL_DATE_TIME";
public static final String CANCEL_USER = "CANCEL_USER";
public static final String REPORT__SEND_USER_GROUP = "REPORT__SEND_USER_GROUP";
public static final String REPORT_SEND_USER_GROUP = "REPORT_SEND_USER_GROUP";
public static final String CANCEL__SEND_USER_GROUP = "CANCEL__SEND_USER_GROUP";
public static final String CANCEL_SEND_USER_GROUP = "CANCEL_SEND_USER_GROUP";
public static final String CREATED_USER = "CREATED_USER";

@ -17,8 +17,8 @@ import java.util.List;
*
* </p>
*
* @author Philip
* @since 2021-07-20
* @author
* @since 2021-07-22
*/
public interface AbnormalBillService extends IService<AbnormalBill> {

@ -38,8 +38,8 @@ import java.util.*;
*
* </p>
*
* @author Philip
* @since 2021-07-20
* @author
* @since 2021-07-22
*/
@Service
@Transactional(rollbackFor = Exception.class)
@ -130,6 +130,8 @@ public class AbnormalBillServiceImpl extends ServiceImpl<AbnormalBillMapper, Abn
@Autowired
private AbnormalMessageService abnormalMessageService;
@Override
public IPage<AbnormalBill> selectPage(FrontPage<AbnormalBill> frontPage, AbnormalBill abnormalBill) {
QueryWrapper<AbnormalBill> queryWrapper = new QueryWrapper<>();
@ -960,4 +962,5 @@ public class AbnormalBillServiceImpl extends ServiceImpl<AbnormalBillMapper, Abn
}
}

@ -36,15 +36,14 @@
<result column="CANCEL_REASON" property="cancelReason" />
<result column="CANCEL_DATE_TIME" property="cancelDateTime" />
<result column="CANCEL_USER" property="cancelUser" />
<result column="REPORT__SEND_USER_GROUP" property="reportSendUserGroup" />
<result column="CANCEL__SEND_USER_GROUP" property="cancelSendUserGroup" />
<result column="REPORT_SEND_USER_GROUP" property="reportSendUserGroup" />
<result column="CANCEL_SEND_USER_GROUP" property="cancelSendUserGroup" />
<result column="CREATED_USER" property="createdUser" />
<result column="CREATED_DATE_TIME" property="createdDateTime" />
<result column="MODIFIED_USER" property="modifiedUser" />
<result column="MODIFIED_DATE_TIME" property="modifiedDateTime" />
</resultMap>
<resultMap id="abnormalBillDto" type="com.foreverwin.mesnac.anomaly.dto.AbnormalBillDto" extends="BaseResultMap">
<result column="SEQ" property="seq"/>
<result column="ITEM_DESCRIPTION" property="itemDescription"/>
@ -58,10 +57,9 @@
<result column="RESOLVE_REMARK" property="resolveRemark"/>
</resultMap>
<!-- 通用查询结果列 -->
<sql id="Base_Column_List">
HANDLE, SITE, ABNORMAL_NO, STATUS, TYPE, ITEM_BO, SFC, OPERATION, WORK_CENTER, SHOP_ORDER, MESSAGE_TYPE, RESRCE, NC_CODE, SHUT_DOWN, RESPONSE_USER, RESPONSE_DATE_TIME, PB_DESCRIPTION, NC_QTY, PB_GRADE, PB_USER, PB_QTY, REPAIR_DATE_TIME, DISCOVER, INSPECTOR, ENTITY_LOCATION, REPORT_FROM, OBJECT_BO, PB_PHOTOSHOP, CANCEL_CODE, CANCEL_REASON, CANCEL_DATE_TIME, CANCEL_USER, REPORT__SEND_USER_GROUP, CANCEL__SEND_USER_GROUP, CREATED_USER, CREATED_DATE_TIME, MODIFIED_USER, MODIFIED_DATE_TIME
HANDLE, SITE, ABNORMAL_NO, STATUS, TYPE, ITEM_BO, SFC, OPERATION, WORK_CENTER, SHOP_ORDER, MESSAGE_TYPE, RESRCE, NC_CODE, SHUT_DOWN, RESPONSE_USER, RESPONSE_DATE_TIME, PB_DESCRIPTION, NC_QTY, PB_GRADE, PB_USER, PB_QTY, REPAIR_DATE_TIME, DISCOVER, INSPECTOR, ENTITY_LOCATION, REPORT_FROM, OBJECT_BO, PB_PHOTOSHOP, CANCEL_CODE, CANCEL_REASON, CANCEL_DATE_TIME, CANCEL_USER, REPORT_SEND_USER_GROUP, CANCEL_SEND_USER_GROUP, CREATED_USER, CREATED_DATE_TIME, MODIFIED_USER, MODIFIED_DATE_TIME
</sql>
<!-- BaseMapper标准查询/修改/删除 -->
@ -127,8 +125,8 @@
<if test="ew.entity.cancelReason!=null"> AND CANCEL_REASON=#{ew.entity.cancelReason}</if>
<if test="ew.entity.cancelDateTime!=null"> AND CANCEL_DATE_TIME=#{ew.entity.cancelDateTime}</if>
<if test="ew.entity.cancelUser!=null"> AND CANCEL_USER=#{ew.entity.cancelUser}</if>
<if test="ew.entity.reportSendUserGroup!=null"> AND REPORT__SEND_USER_GROUP=#{ew.entity.reportSendUserGroup}</if>
<if test="ew.entity.cancelSendUserGroup!=null"> AND CANCEL__SEND_USER_GROUP=#{ew.entity.cancelSendUserGroup}</if>
<if test="ew.entity.reportSendUserGroup!=null"> AND REPORT_SEND_USER_GROUP=#{ew.entity.reportSendUserGroup}</if>
<if test="ew.entity.cancelSendUserGroup!=null"> AND CANCEL_SEND_USER_GROUP=#{ew.entity.cancelSendUserGroup}</if>
<if test="ew.entity.createdUser!=null"> AND CREATED_USER=#{ew.entity.createdUser}</if>
<if test="ew.entity.createdDateTime!=null"> AND CREATED_DATE_TIME=#{ew.entity.createdDateTime}</if>
<if test="ew.entity.modifiedUser!=null"> AND MODIFIED_USER=#{ew.entity.modifiedUser}</if>
@ -175,8 +173,8 @@
<if test="ew.entity.cancelReason!=null"> AND CANCEL_REASON=#{ew.entity.cancelReason}</if>
<if test="ew.entity.cancelDateTime!=null"> AND CANCEL_DATE_TIME=#{ew.entity.cancelDateTime}</if>
<if test="ew.entity.cancelUser!=null"> AND CANCEL_USER=#{ew.entity.cancelUser}</if>
<if test="ew.entity.reportSendUserGroup!=null"> AND REPORT__SEND_USER_GROUP=#{ew.entity.reportSendUserGroup}</if>
<if test="ew.entity.cancelSendUserGroup!=null"> AND CANCEL__SEND_USER_GROUP=#{ew.entity.cancelSendUserGroup}</if>
<if test="ew.entity.reportSendUserGroup!=null"> AND REPORT_SEND_USER_GROUP=#{ew.entity.reportSendUserGroup}</if>
<if test="ew.entity.cancelSendUserGroup!=null"> AND CANCEL_SEND_USER_GROUP=#{ew.entity.cancelSendUserGroup}</if>
<if test="ew.entity.createdUser!=null"> AND CREATED_USER=#{ew.entity.createdUser}</if>
<if test="ew.entity.createdDateTime!=null"> AND CREATED_DATE_TIME=#{ew.entity.createdDateTime}</if>
<if test="ew.entity.modifiedUser!=null"> AND MODIFIED_USER=#{ew.entity.modifiedUser}</if>
@ -231,8 +229,8 @@
<if test="ew.entity.cancelReason!=null"> AND CANCEL_REASON=#{ew.entity.cancelReason}</if>
<if test="ew.entity.cancelDateTime!=null"> AND CANCEL_DATE_TIME=#{ew.entity.cancelDateTime}</if>
<if test="ew.entity.cancelUser!=null"> AND CANCEL_USER=#{ew.entity.cancelUser}</if>
<if test="ew.entity.reportSendUserGroup!=null"> AND REPORT__SEND_USER_GROUP=#{ew.entity.reportSendUserGroup}</if>
<if test="ew.entity.cancelSendUserGroup!=null"> AND CANCEL__SEND_USER_GROUP=#{ew.entity.cancelSendUserGroup}</if>
<if test="ew.entity.reportSendUserGroup!=null"> AND REPORT_SEND_USER_GROUP=#{ew.entity.reportSendUserGroup}</if>
<if test="ew.entity.cancelSendUserGroup!=null"> AND CANCEL_SEND_USER_GROUP=#{ew.entity.cancelSendUserGroup}</if>
<if test="ew.entity.createdUser!=null"> AND CREATED_USER=#{ew.entity.createdUser}</if>
<if test="ew.entity.createdDateTime!=null"> AND CREATED_DATE_TIME=#{ew.entity.createdDateTime}</if>
<if test="ew.entity.modifiedUser!=null"> AND MODIFIED_USER=#{ew.entity.modifiedUser}</if>
@ -287,8 +285,8 @@
<if test="ew.entity.cancelReason!=null"> AND CANCEL_REASON=#{ew.entity.cancelReason}</if>
<if test="ew.entity.cancelDateTime!=null"> AND CANCEL_DATE_TIME=#{ew.entity.cancelDateTime}</if>
<if test="ew.entity.cancelUser!=null"> AND CANCEL_USER=#{ew.entity.cancelUser}</if>
<if test="ew.entity.reportSendUserGroup!=null"> AND REPORT__SEND_USER_GROUP=#{ew.entity.reportSendUserGroup}</if>
<if test="ew.entity.cancelSendUserGroup!=null"> AND CANCEL__SEND_USER_GROUP=#{ew.entity.cancelSendUserGroup}</if>
<if test="ew.entity.reportSendUserGroup!=null"> AND REPORT_SEND_USER_GROUP=#{ew.entity.reportSendUserGroup}</if>
<if test="ew.entity.cancelSendUserGroup!=null"> AND CANCEL_SEND_USER_GROUP=#{ew.entity.cancelSendUserGroup}</if>
<if test="ew.entity.createdUser!=null"> AND CREATED_USER=#{ew.entity.createdUser}</if>
<if test="ew.entity.createdDateTime!=null"> AND CREATED_DATE_TIME=#{ew.entity.createdDateTime}</if>
<if test="ew.entity.modifiedUser!=null"> AND MODIFIED_USER=#{ew.entity.modifiedUser}</if>
@ -343,8 +341,8 @@
<if test="ew.entity.cancelReason!=null"> AND CANCEL_REASON=#{ew.entity.cancelReason}</if>
<if test="ew.entity.cancelDateTime!=null"> AND CANCEL_DATE_TIME=#{ew.entity.cancelDateTime}</if>
<if test="ew.entity.cancelUser!=null"> AND CANCEL_USER=#{ew.entity.cancelUser}</if>
<if test="ew.entity.reportSendUserGroup!=null"> AND REPORT__SEND_USER_GROUP=#{ew.entity.reportSendUserGroup}</if>
<if test="ew.entity.cancelSendUserGroup!=null"> AND CANCEL__SEND_USER_GROUP=#{ew.entity.cancelSendUserGroup}</if>
<if test="ew.entity.reportSendUserGroup!=null"> AND REPORT_SEND_USER_GROUP=#{ew.entity.reportSendUserGroup}</if>
<if test="ew.entity.cancelSendUserGroup!=null"> AND CANCEL_SEND_USER_GROUP=#{ew.entity.cancelSendUserGroup}</if>
<if test="ew.entity.createdUser!=null"> AND CREATED_USER=#{ew.entity.createdUser}</if>
<if test="ew.entity.createdDateTime!=null"> AND CREATED_DATE_TIME=#{ew.entity.createdDateTime}</if>
<if test="ew.entity.modifiedUser!=null"> AND MODIFIED_USER=#{ew.entity.modifiedUser}</if>
@ -399,8 +397,8 @@
<if test="ew.entity.cancelReason!=null"> AND CANCEL_REASON=#{ew.entity.cancelReason}</if>
<if test="ew.entity.cancelDateTime!=null"> AND CANCEL_DATE_TIME=#{ew.entity.cancelDateTime}</if>
<if test="ew.entity.cancelUser!=null"> AND CANCEL_USER=#{ew.entity.cancelUser}</if>
<if test="ew.entity.reportSendUserGroup!=null"> AND REPORT__SEND_USER_GROUP=#{ew.entity.reportSendUserGroup}</if>
<if test="ew.entity.cancelSendUserGroup!=null"> AND CANCEL__SEND_USER_GROUP=#{ew.entity.cancelSendUserGroup}</if>
<if test="ew.entity.reportSendUserGroup!=null"> AND REPORT_SEND_USER_GROUP=#{ew.entity.reportSendUserGroup}</if>
<if test="ew.entity.cancelSendUserGroup!=null"> AND CANCEL_SEND_USER_GROUP=#{ew.entity.cancelSendUserGroup}</if>
<if test="ew.entity.createdUser!=null"> AND CREATED_USER=#{ew.entity.createdUser}</if>
<if test="ew.entity.createdDateTime!=null"> AND CREATED_DATE_TIME=#{ew.entity.createdDateTime}</if>
<if test="ew.entity.modifiedUser!=null"> AND MODIFIED_USER=#{ew.entity.modifiedUser}</if>
@ -455,8 +453,8 @@
<if test="ew.entity.cancelReason!=null"> AND CANCEL_REASON=#{ew.entity.cancelReason}</if>
<if test="ew.entity.cancelDateTime!=null"> AND CANCEL_DATE_TIME=#{ew.entity.cancelDateTime}</if>
<if test="ew.entity.cancelUser!=null"> AND CANCEL_USER=#{ew.entity.cancelUser}</if>
<if test="ew.entity.reportSendUserGroup!=null"> AND REPORT__SEND_USER_GROUP=#{ew.entity.reportSendUserGroup}</if>
<if test="ew.entity.cancelSendUserGroup!=null"> AND CANCEL__SEND_USER_GROUP=#{ew.entity.cancelSendUserGroup}</if>
<if test="ew.entity.reportSendUserGroup!=null"> AND REPORT_SEND_USER_GROUP=#{ew.entity.reportSendUserGroup}</if>
<if test="ew.entity.cancelSendUserGroup!=null"> AND CANCEL_SEND_USER_GROUP=#{ew.entity.cancelSendUserGroup}</if>
<if test="ew.entity.createdUser!=null"> AND CREATED_USER=#{ew.entity.createdUser}</if>
<if test="ew.entity.createdDateTime!=null"> AND CREATED_DATE_TIME=#{ew.entity.createdDateTime}</if>
<if test="ew.entity.modifiedUser!=null"> AND MODIFIED_USER=#{ew.entity.modifiedUser}</if>
@ -507,8 +505,8 @@
<if test="cancelReason!=null">CANCEL_REASON,</if>
<if test="cancelDateTime!=null">CANCEL_DATE_TIME,</if>
<if test="cancelUser!=null">CANCEL_USER,</if>
<if test="reportSendUserGroup!=null">REPORT__SEND_USER_GROUP,</if>
<if test="cancelSendUserGroup!=null">CANCEL__SEND_USER_GROUP,</if>
<if test="reportSendUserGroup!=null">REPORT_SEND_USER_GROUP,</if>
<if test="cancelSendUserGroup!=null">CANCEL_SEND_USER_GROUP,</if>
<if test="createdUser!=null">CREATED_USER,</if>
<if test="createdDateTime!=null">CREATED_DATE_TIME,</if>
<if test="modifiedUser!=null">MODIFIED_USER,</if>
@ -637,8 +635,8 @@
<if test="et.cancelReason!=null">CANCEL_REASON=#{et.cancelReason},</if>
<if test="et.cancelDateTime!=null">CANCEL_DATE_TIME=#{et.cancelDateTime},</if>
<if test="et.cancelUser!=null">CANCEL_USER=#{et.cancelUser},</if>
<if test="et.reportSendUserGroup!=null">REPORT__SEND_USER_GROUP=#{et.reportSendUserGroup},</if>
<if test="et.cancelSendUserGroup!=null">CANCEL__SEND_USER_GROUP=#{et.cancelSendUserGroup},</if>
<if test="et.reportSendUserGroup!=null">REPORT_SEND_USER_GROUP=#{et.reportSendUserGroup},</if>
<if test="et.cancelSendUserGroup!=null">CANCEL_SEND_USER_GROUP=#{et.cancelSendUserGroup},</if>
<if test="et.createdUser!=null">CREATED_USER=#{et.createdUser},</if>
<if test="et.createdDateTime!=null">CREATED_DATE_TIME=#{et.createdDateTime},</if>
<if test="et.modifiedUser!=null">MODIFIED_USER=#{et.modifiedUser},</if>
@ -680,8 +678,8 @@
CANCEL_REASON=#{et.cancelReason},
CANCEL_DATE_TIME=#{et.cancelDateTime},
CANCEL_USER=#{et.cancelUser},
REPORT__SEND_USER_GROUP=#{et.reportSendUserGroup},
CANCEL__SEND_USER_GROUP=#{et.cancelSendUserGroup},
REPORT_SEND_USER_GROUP=#{et.reportSendUserGroup},
CANCEL_SEND_USER_GROUP=#{et.cancelSendUserGroup},
CREATED_USER=#{et.createdUser},
CREATED_DATE_TIME=#{et.createdDateTime},
MODIFIED_USER=#{et.modifiedUser},
@ -723,8 +721,8 @@
<if test="et.cancelReason!=null">CANCEL_REASON=#{et.cancelReason},</if>
<if test="et.cancelDateTime!=null">CANCEL_DATE_TIME=#{et.cancelDateTime},</if>
<if test="et.cancelUser!=null">CANCEL_USER=#{et.cancelUser},</if>
<if test="et.reportSendUserGroup!=null">REPORT__SEND_USER_GROUP=#{et.reportSendUserGroup},</if>
<if test="et.cancelSendUserGroup!=null">CANCEL__SEND_USER_GROUP=#{et.cancelSendUserGroup},</if>
<if test="et.reportSendUserGroup!=null">REPORT_SEND_USER_GROUP=#{et.reportSendUserGroup},</if>
<if test="et.cancelSendUserGroup!=null">CANCEL_SEND_USER_GROUP=#{et.cancelSendUserGroup},</if>
<if test="et.createdUser!=null">CREATED_USER=#{et.createdUser},</if>
<if test="et.createdDateTime!=null">CREATED_DATE_TIME=#{et.createdDateTime},</if>
<if test="et.modifiedUser!=null">MODIFIED_USER=#{et.modifiedUser},</if>
@ -765,8 +763,8 @@
<if test="ew.entity.cancelReason!=null"> AND CANCEL_REASON=#{ew.entity.cancelReason}</if>
<if test="ew.entity.cancelDateTime!=null"> AND CANCEL_DATE_TIME=#{ew.entity.cancelDateTime}</if>
<if test="ew.entity.cancelUser!=null"> AND CANCEL_USER=#{ew.entity.cancelUser}</if>
<if test="ew.entity.reportSendUserGroup!=null"> AND REPORT__SEND_USER_GROUP=#{ew.entity.reportSendUserGroup}</if>
<if test="ew.entity.cancelSendUserGroup!=null"> AND CANCEL__SEND_USER_GROUP=#{ew.entity.cancelSendUserGroup}</if>
<if test="ew.entity.reportSendUserGroup!=null"> AND REPORT_SEND_USER_GROUP=#{ew.entity.reportSendUserGroup}</if>
<if test="ew.entity.cancelSendUserGroup!=null"> AND CANCEL_SEND_USER_GROUP=#{ew.entity.cancelSendUserGroup}</if>
<if test="ew.entity.createdUser!=null"> AND CREATED_USER=#{ew.entity.createdUser}</if>
<if test="ew.entity.createdDateTime!=null"> AND CREATED_DATE_TIME=#{ew.entity.createdDateTime}</if>
<if test="ew.entity.modifiedUser!=null"> AND MODIFIED_USER=#{ew.entity.modifiedUser}</if>
@ -838,8 +836,8 @@
<if test="ew.entity.cancelReason!=null"> AND CANCEL_REASON=#{ew.entity.cancelReason}</if>
<if test="ew.entity.cancelDateTime!=null"> AND CANCEL_DATE_TIME=#{ew.entity.cancelDateTime}</if>
<if test="ew.entity.cancelUser!=null"> AND CANCEL_USER=#{ew.entity.cancelUser}</if>
<if test="ew.entity.reportSendUserGroup!=null"> AND REPORT__SEND_USER_GROUP=#{ew.entity.reportSendUserGroup}</if>
<if test="ew.entity.cancelSendUserGroup!=null"> AND CANCEL__SEND_USER_GROUP=#{ew.entity.cancelSendUserGroup}</if>
<if test="ew.entity.reportSendUserGroup!=null"> AND REPORT_SEND_USER_GROUP=#{ew.entity.reportSendUserGroup}</if>
<if test="ew.entity.cancelSendUserGroup!=null"> AND CANCEL_SEND_USER_GROUP=#{ew.entity.cancelSendUserGroup}</if>
<if test="ew.entity.createdUser!=null"> AND CREATED_USER=#{ew.entity.createdUser}</if>
<if test="ew.entity.createdDateTime!=null"> AND CREATED_DATE_TIME=#{ew.entity.createdDateTime}</if>
<if test="ew.entity.modifiedUser!=null"> AND MODIFIED_USER=#{ew.entity.modifiedUser}</if>
@ -957,4 +955,5 @@
</where>
</select>
</mapper>

Loading…
Cancel
Save