优化apms对接时发现的问题。
This commit is contained in:
parent
0a34af7c00
commit
2ce5380397
@ -106,8 +106,7 @@ public class MyGenerator {
|
||||
|
||||
@Test
|
||||
public void generateCodeWithInjectConfigForAllTable() {
|
||||
generateByTablesWithInjectConfig(new String[]{"t_curr_task"});
|
||||
generateByTablesWithInjectConfig(new String[]{"t_task_his"});
|
||||
generateByTablesWithInjectConfig(new String[]{"t_apms_check_result"});
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
@ -9,7 +9,7 @@ import com.mt.wms.core.dal.entity.ApmsCheckResult;
|
||||
* </p>
|
||||
*
|
||||
* @author mt
|
||||
* @since 2021-11-19
|
||||
* @since 2021-12-29
|
||||
*/
|
||||
public interface ApmsCheckResultMapper extends BaseMapper<ApmsCheckResult> {
|
||||
|
||||
|
@ -16,12 +16,16 @@
|
||||
<result column="hardness" property="hardness"/>
|
||||
<result column="metallography" property="metallography"/>
|
||||
<result column="heart_hardness" property="heartHardness"/>
|
||||
<result column="remake" property="remake"/>
|
||||
<result column="hardness_value_one" property="hardnessValueOne"/>
|
||||
<result column="hardness_value_two" property="hardnessValueTwo"/>
|
||||
<result column="hardness_value_three" property="hardnessValueThree"/>
|
||||
</resultMap>
|
||||
|
||||
<!-- 通用查询结果列 -->
|
||||
<sql id="Base_Column_List">
|
||||
id, valid, create_time, creator_id, updater_id, update_time, version, sheet_no, iden_card_num, hardness,
|
||||
metallography, heart_hardness
|
||||
metallography, heart_hardness, remake, hardness_value_one, hardness_value_two, hardness_value_three
|
||||
</sql>
|
||||
|
||||
</mapper>
|
||||
|
@ -9,7 +9,7 @@ import com.mt.wms.core.dal.entity.ApmsCheckResult;
|
||||
* </p>
|
||||
*
|
||||
* @author mt
|
||||
* @since 2021-11-19
|
||||
* @since 2021-12-29
|
||||
*/
|
||||
public interface ApmsCheckResultServiceBiz extends IService<ApmsCheckResult> {
|
||||
|
||||
|
@ -12,7 +12,7 @@ import org.springframework.stereotype.Service;
|
||||
* </p>
|
||||
*
|
||||
* @author mt
|
||||
* @since 2021-11-19
|
||||
* @since 2021-12-29
|
||||
*/
|
||||
@Service
|
||||
public class ApmsCheckResultServiceBizImpl extends ServiceImpl<ApmsCheckResultMapper, ApmsCheckResult> implements ApmsCheckResultServiceBiz {
|
||||
|
@ -69,7 +69,6 @@ public class ApmsController extends BaseController {
|
||||
@PostMapping(value = "apmsVoidOrder")
|
||||
@ApiOperation(value = "WMS接收APMS作废订单信息")
|
||||
public R<String> apmsVoidOrder(@Validated @RequestBody Iden idenCardNum) {
|
||||
//todo 改动为json值
|
||||
CommunicationLog communicationLog = new CommunicationLog();
|
||||
communicationLog.setCode("APMS" + System.currentTimeMillis());
|
||||
communicationLog.setLogName("WMS接收APMS作废订单信息");
|
||||
|
@ -16,7 +16,7 @@ public class ApmsCompleteOrder extends BaseParam {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ApiModelProperty(value = "生产单编号", required = false)
|
||||
@ApiModelProperty(value = "生产单编号", required = true)
|
||||
private String sheetNo;
|
||||
|
||||
/**
|
||||
@ -31,7 +31,17 @@ public class ApmsCompleteOrder extends BaseParam {
|
||||
@ApiModelProperty(value = "金相检验结果", required = true)
|
||||
private String metallographic;
|
||||
|
||||
@ApiModelProperty(value = "心部硬度检验值", required = true)
|
||||
private Float heartHardness;
|
||||
@ApiModelProperty(value = "心部硬度检验值", required = false)
|
||||
private String heartHardness;
|
||||
|
||||
@ApiModelProperty(value = "硬度检验值1", required = false)
|
||||
private String hardnessValueOne;
|
||||
@ApiModelProperty(value = "硬度检验值2", required = false)
|
||||
private String hardnessValueTwo;
|
||||
@ApiModelProperty(value = "硬度检验值3", required = false)
|
||||
private String hardnessValueThree;
|
||||
|
||||
@ApiModelProperty(value = "备注", required = false)
|
||||
private String remake;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user