diff --git a/WebContent/WEB-INF/views/ma/machinelist.jsp b/WebContent/WEB-INF/views/ma/machinelist.jsp index 13911fe..56bba3b 100644 --- a/WebContent/WEB-INF/views/ma/machinelist.jsp +++ b/WebContent/WEB-INF/views/ma/machinelist.jsp @@ -57,9 +57,10 @@ 原编号 设备编码 资产属性 - 合格证 - 技术材料 - 改造手续 + 出厂日期 + 合格证 + 技术材料 + 改造手续 操作手册 二维码 机具状态 diff --git a/WebContent/static/js/ma/machine.js b/WebContent/static/js/ma/machine.js index 1ea38ad..22c36b1 100644 --- a/WebContent/static/js/ma/machine.js +++ b/WebContent/static/js/ma/machine.js @@ -199,6 +199,7 @@ function getbaseList(index) { html += ""+ JY.Object.notEmpty(l.originNum) + ""; html += ""+ JY.Object.notEmpty(l.deviceCode) + ""; html += ""+ JY.Object.notEmpty(l.companyName) + ""; + html += ""+ JY.Object.notEmpty(l.outFactortTime) + ""; if(l.fileName == null || l.fileName == 'null' || l.fileName == ''){ html += "上传"; html += "上传"; diff --git a/resources/mybatis/ma/MachineTypeMapper.xml b/resources/mybatis/ma/MachineTypeMapper.xml index 1331714..00702b9 100644 --- a/resources/mybatis/ma/MachineTypeMapper.xml +++ b/resources/mybatis/ma/MachineTypeMapper.xml @@ -753,7 +753,7 @@ mat.UNIT AS unit, mat.LEASE_PRICE AS leasePrice, - ROUND(CONVERT ( ( mr.PAY_PRICE ), DECIMAL ( 10, 2 ) )) AS + ROUND(CONVERT ( ( mat.PAY_PRICE ), DECIMAL ( 10, 2 ) )) AS payPrice, ROUND(mat.BUY_PRICE) AS buyPrice, mat.IS_TEST AS isTest, @@ -815,15 +815,22 @@ - update mm_type - set `NAME` - = #{name}, - WEIGHT = #{weight}, - UNIT = #{unit}, - IS_COUNT = #{isCount}, - RFID_POWER=#{rfidPower} - - where id = #{id} + UPDATE mm_type + + `NAME` = #{name}, + + WEIGHT = #{weight}, + + UNIT = #{unit}, + IS_COUNT = #{isCount}, + + RFID_POWER = #{rfidPower}, + + LEASE_PRICE = #{leasePrice}, + BUY_PRICE = #{buyPrice}, + PAY_PRICE = #{payPrice} + + WHERE id = #{id} diff --git a/resources/mybatis/repair/RepairDetailsMapper.xml b/resources/mybatis/repair/RepairDetailsMapper.xml index 7cbbdff..35c68ce 100644 --- a/resources/mybatis/repair/RepairDetailsMapper.xml +++ b/resources/mybatis/repair/RepairDetailsMapper.xml @@ -543,7 +543,7 @@ mt2.`NAME` LIKE CONCAT('%',#{keyWord},'%') OR mt.`NAME` LIKE CONCAT('%',#{keyWord},'%') OR wir.`CODE` LIKE CONCAT('%',#{keyWord},'%') - + OR wir.REMARK LIKE CONCAT('%',#{keyWord},'%') ) ORDER BY wir.TIME DESC @@ -887,7 +887,8 @@ AND( mt2.`NAME` LIKE CONCAT('%',#{keyWord},'%') OR mt.`NAME` LIKE CONCAT('%',#{keyWord},'%') - OR wir.`CODE` LIKE CONCAT('%',#{keyWord},'%') + OR wir.`CODE` LIKE CONCAT('%',#{keyWord},'%') + OR mm.REMARK LIKE CONCAT('%',#{keyWord},'%') ) ORDER BY wir.TIME DESC