Browse Source

Merge remote-tracking branch 'origin/master'

master
[li_she] 5 years ago
parent
commit
65934cc94b
  1. 2
      pom.xml
  2. 2
      src/main/resources/mapper/toolman/ToolDetailMapper.xml
  3. 6
      src/main/resources/mapper/toolman/ToolHeaderMapper.xml
  4. 2
      src/main/resources/static/js/pda/toolMoveLibrary.js
  5. 2
      src/main/resources/static/js/pda/toolWarehousing.js

2
pom.xml

@ -276,7 +276,7 @@
</dependencies> </dependencies>
<build> <build>
<finalName>${project.artifactId}-${project.version}</finalName>
<finalName>${project.artifactId}</finalName>
<extensions> <extensions>
<extension> <extension>
<groupId>org.apache.maven.wagon</groupId> <groupId>org.apache.maven.wagon</groupId>

2
src/main/resources/mapper/toolman/ToolDetailMapper.xml

@ -249,7 +249,7 @@
and Site=#{site,jdbcType=VARCHAR} and Site=#{site,jdbcType=VARCHAR}
</if> </if>
<if test="toolId != null and toolId != ''"> <if test="toolId != null and toolId != ''">
and ToolInstanceID LIKE '%'+#{toolId,jdbcType=VARCHAR}+'%'
and ToolInstanceID LIKE #{toolId,jdbcType=VARCHAR}+'%'
</if> </if>
</where> </where>
</select> </select>

6
src/main/resources/mapper/toolman/ToolHeaderMapper.xml

@ -121,9 +121,9 @@
INSERT INTO ToolHeader INSERT INTO ToolHeader
<trim prefix="(" suffix=")" suffixOverrides=","> <trim prefix="(" suffix=")" suffixOverrides=",">
<if test="toolId != null and toolId != ''">ToolID,</if> <if test="toolId != null and toolId != ''">ToolID,</if>
<if test="site!=null">Site,</if>
<if test="site != null and site != ''">Site,</if>
<if test="toolDescription != null and toolDescription != ''">ToolDescription,</if> <if test="toolDescription != null and toolDescription != ''">ToolDescription,</if>
<if test="spec!=null">Spec,</if>
<if test="spec != null and spec != ''">Spec,</if>
<if test="familyId != null and familyId != ''">FamilyID,</if> <if test="familyId != null and familyId != ''">FamilyID,</if>
<if test="active != null and active != ''">Active,</if> <if test="active != null and active != ''">Active,</if>
<if test="remark != null and remark != ''">Remark,</if> <if test="remark != null and remark != ''">Remark,</if>
@ -131,7 +131,7 @@
<if test="codeNo != null and codeNo != ''">CodeNo,</if> <if test="codeNo != null and codeNo != ''">CodeNo,</if>
<if test="createDate != null">CreateDate,</if> <if test="createDate != null">CreateDate,</if>
<if test="createdBy != null and createdBy != ''">CreatedBy,</if> <if test="createdBy != null and createdBy != ''">CreatedBy,</if>
<if test="umid!=null">UMID,</if>
<if test="umid != null and umid != ''">UMID,</if>
<if test="defaultWarehouseId != null and defaultWarehouseId != ''">DefaultWarehouseID,</if> <if test="defaultWarehouseId != null and defaultWarehouseId != ''">DefaultWarehouseID,</if>
<if test="lastUpdateBy != null and lastUpdateBy != ''">LastUpdateBy,</if> <if test="lastUpdateBy != null and lastUpdateBy != ''">LastUpdateBy,</if>
<if test="defaultLocationId != null and defaultLocationId != ''">DefaultLocationID,</if> <if test="defaultLocationId != null and defaultLocationId != ''">DefaultLocationID,</if>

2
src/main/resources/static/js/pda/toolMoveLibrary.js

@ -164,7 +164,7 @@ $("#location_modal").on("hidden.bs.modal",function(){
function getLocation(locationId){ function getLocation(locationId){
var jsonData = { var jsonData = {
site : site, site : site,
locationid : locationId,
locationId : locationId,
} }
$.ajax({ $.ajax({
url: "/toolPda/getLocation", url: "/toolPda/getLocation",

2
src/main/resources/static/js/pda/toolWarehousing.js

@ -55,7 +55,7 @@ function getToolInstanceData(toolInstanceId){
$("#tool_detail").val(""); $("#tool_detail").val("");
var jsonData = { var jsonData = {
site : site, site : site,
toolinstanceid : toolInstanceId,
toolInstanceId : toolInstanceId,
} }
$.ajax({ $.ajax({
url: "/toolPda/getToolDetail", url: "/toolPda/getToolDetail",

Loading…
Cancel
Save